Skip to content

docs: add context variables section to the footgun page#148

Merged
hannesrudolph merged 1 commit into
RooCodeInc:mainfrom
daniel-lxs:custom-system-prompt-variables
Apr 23, 2025
Merged

docs: add context variables section to the footgun page#148
hannesrudolph merged 1 commit into
RooCodeInc:mainfrom
daniel-lxs:custom-system-prompt-variables

Conversation

@daniel-lxs
Copy link
Copy Markdown
Member

@daniel-lxs daniel-lxs commented Apr 23, 2025

Add a guide to the newly added variables for the file-based custom system prompt


Important

Adds documentation for context variables in custom system prompts to footgun-prompting.md.

  • Documentation Update:
    • Adds a "Using Context Variables" section to footgun-prompting.md.
    • Describes special variables like {{mode}}, {{language}}, {{shell}}, {{operatingSystem}}, and {{workspace}}.
    • Provides an example of how to use these variables in custom system prompts.

This description was created by Ellipsis for 59f0592. You can customize this summary. It will automatically update as commits are pushed.

@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 23, 2025

@daniel-lxs is attempting to deploy a commit to the Roo Code Team on Vercel.

A member of the Team first needs to authorize it.

@dosubot dosubot Bot added the size:M This PR changes 30-99 lines, ignoring generated files. label Apr 23, 2025
Copy link
Copy Markdown
Contributor

@ellipsis-dev ellipsis-dev Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Important

Looks good to me! 👍

Reviewed everything up to 59f0592 in 1 minute and 30 seconds. Click for details.
  • Reviewed 71 lines of code in 1 files
  • Skipped 0 files when reviewing.
  • Skipped posting 3 draft comments. View those below.
  • Modify your settings and rules to customize what types of comments Ellipsis leaves. And don't forget to react with 👍 or 👎 to teach Ellipsis.
1. docs/features/footgun-prompting.md:9
  • Draft comment:
    The info block uses four colons (::::info) instead of the standard three (:::info). Please verify and adjust to maintain consistency with Docusaurus admonition syntax.
  • Reason this comment was not posted:
    Comment was on unchanged code.
2. docs/features/footgun-prompting.md:9
  • Draft comment:
    Admonition blocks in Docusaurus should start and end with triple colons (:::), not four. Please update '::::info' and corresponding closing '::::' to use three colons (:::info and :::).
  • Reason this comment was not posted:
    Comment was on unchanged code.
3. docs/features/footgun-prompting.md:9
  • Draft comment:
    The info block on line 9 starts with '::::info' but it should likely be ':::info' (using three colons) to adhere to the expected markdown syntax for admonitions.
  • Reason this comment was not posted:
    Comment was on unchanged code.

Workflow ID: wflow_YJfWa2bNDYFGB1dl

You can customize Ellipsis by changing your verbosity settings, reacting with 👍 or 👎, replying to comments, or adding code review rules.

@dosubot dosubot Bot added the documentation Improvements or additions to documentation label Apr 23, 2025
@hannesrudolph hannesrudolph merged commit f4f4c50 into RooCodeInc:main Apr 23, 2025
1 of 2 checks passed
@daniel-lxs daniel-lxs deleted the custom-system-prompt-variables branch April 23, 2025 23:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation size:M This PR changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants